package me.zhengjie.modules.website.service;

import me.zhengjie.modules.website.domain.FriendLinkTable;
import org.springframework.data.domain.Pageable;
import me.zhengjie.modules.website.domain.PageResult;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author system
 * @since 2024-10-23 22:16:35
 */
public interface  FriendLinkTableService {

    PageResult<FriendLinkTable> findPage(FriendLinkTable friendLinkTable, LocalDateTime startDate, LocalDateTime endDate, Pageable pageable);

    PageResult<FriendLinkTable> findPage(FriendLinkTable params, Pageable pageable);

    List<FriendLinkTable> findList(FriendLinkTable params);

    FriendLinkTable findById(Long id);

    FriendLinkTable insert(FriendLinkTable friendLinkTable);

    FriendLinkTable update(FriendLinkTable friendLinkTable);

    void delete(Long id);

}